#ifndef __nid_h__
#ifdef __cplusplus
extern "C" {
#endif


//#include "common.h"
//#include "utils.h"
//#include "constants.h"
//#include "utils.h"

/* from base64.c */
extern int encode(unsigned s_len, char *src, unsigned d_len, char *dst);

/* jinquan added */
extern int genUniqueString(char* in, char** out);
extern void freeUniqueString(char* s);


#ifdef __cplusplus
}
#endif
#endif
